package com.nbst.model.mes;

import java.util.Date;

import com.nbst.model.base.OrderBy;

/**
 * 
 * @ClassName: DispatchedWorkers
 * @Description: 派工信息表
 * @author HuXinshuai
 * @date 2018年10月20日 下午3:18:15
 *
 */

public class DispatchedWorkers extends OrderBy {
	/** id **/
	private Integer id;
	/** 派工号 */
	private String fCode;

	/*** 员工 **/
	private String fWorker;
	/** 时间 */
	private Date fDate;
	/** 制单人 */
	private Integer fBiller;

	/** 制单人 */
	private String fBillerName;

	/** 图号 */
	private String fChartNumber;

	/** 任务单id */
	private Integer fIcmoId;
	/*** 设备id */
	private String fMacId;
	/*** 工序号 */
	private Integer fOperSN;
	/** 工序 */
	private String fOper;
	/** 派工数量/ **/
	private Double fTargetQty;
	/*** 实际完成数量 **/
	private Double fQty;
	/** 0未派工，1已派工，2已在生产，3已生产完 */
	private Integer fStatus;
	/*** 更新时间 */
	private Date updateTime;

	/** 关闭标志 */
	private Integer fClosed;

	/** 是否需要领料 */
	private Boolean fIsOutStock;

	/** 领料状态 */
	private Boolean fOutStockStatus;

	/** 领料数量 */
	private Double fOutStockQty;

	/** 派工单Id */
	private Integer fDisPathId;

	/** 开工表Id */
	private Integer fStartWorkId;

	/** 开工Id */
	private Integer fStartId;

	/** 开工时间 */
	private Date fStartTime;

	/** 完工时间 */
	private Date fEndTime;

	/** 产品名称 */
	private String fName;

	/** 产品代码 */
	private String fNumber;

	/** 加工说明 */
	private String fNote;

	/** 设备名称 */
	private String fMachine;

	/** 员工名称 */
	private String fWorkerName;

	/** 员工卡号、派工单号、员工姓名 */
	private String condition;

	/** 车间 */
	private String fDepName;

	private String fModel;

	private Integer fItemId;

	/** 生产任务单号 */
	private String fBillNo;

	/** 生产任务单批次 */
	private String fBatchNo;

	/** 工序流转卡id */
	private Integer fCardId;

	/** 是否工序入库 */
	private Integer fIsOperInStock;

	/** 是否已有开工记录 0没有，大于1已有 */
	private Integer fStartWorkFlag;

	/** 仓库id */
	private Integer fStockID;

	/** 任务单备注 */
	private String fIcmoNote;

	/** 折扣数（实际需报工数） */
	private Double fDiscountQty;

	/** 报工折扣标志 只针对装配 默认不打折 默认为0 没有折扣 fDiscountQty = 0,为1时fDiscountQty必须大于1 */
	private Double fDiscountFlag;

	/** 定额折扣 默认不打折 100% */
	private Double fDiscountPieceRate;

	/** 类型 */
	private Integer ftype;

	/**
	 * 首道工序是否需要领料标志 为Null则表示不是首道工序 为1表示本次派工首道工序需要领料 为2表示本次派工首道工序不需要领料
	 */
	private Integer fFirstOpNotOutStockFlag;

	/** AVG配料数量 */
	private Double fAgvQty;

	/** 派工单打印次数 */
	private int fPrintNum;

	/** 定额 */
	private String fPieceRate;

	/**
	 * 流转到下道工序的数量
	 */
	private Double fCirculationQty;

	/**
	 * 上道工序的派工单
	 */
	private Integer fUpDispatchId;

	/** 工作中心id */
	private Integer fWorkcenterId;

	/** 工作中心id */
	private Integer fDepId;

	public String getfChartNumber() {
		return fChartNumber;
	}

	public void setfChartNumber(String fChartNumber) {
		this.fChartNumber = fChartNumber;
	}

	public Integer getFtype() {
		return ftype;
	}

	public void setFtype(Integer ftype) {
		this.ftype = ftype;
	}

	public String getfDepName() {
		return fDepName;
	}

	public void setfDepName(String fDepName) {
		this.fDepName = fDepName;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getfCode() {
		return fCode;
	}

	public void setfCode(String fCode) {
		this.fCode = fCode;
	}

	public String getfWorker() {
		return fWorker;
	}

	public void setfWorker(String fWorker) {
		this.fWorker = fWorker;
	}

	public Date getfDate() {
		return fDate;
	}

	public void setfDate(Date fDate) {
		this.fDate = fDate;
	}

	public Integer getfBiller() {
		return fBiller;
	}

	public void setfBiller(Integer fBiller) {
		this.fBiller = fBiller;
	}

	public Integer getfIcmoId() {
		return fIcmoId;
	}

	public void setfIcmoId(Integer fIcmoId) {
		this.fIcmoId = fIcmoId;
	}

	public String getfMacId() {
		return fMacId;
	}

	public void setfMacId(String fMacId) {
		this.fMacId = fMacId;
	}

	public Integer getfOperSN() {
		return fOperSN;
	}

	public void setfOperSN(Integer fOperSN) {
		this.fOperSN = fOperSN;
	}

	public String getfOper() {
		return fOper;
	}

	public void setfOper(String fOper) {
		this.fOper = fOper;
	}

	public Double getfTargetQty() {
		return fTargetQty;
	}

	public void setfTargetQty(Double fTargetQty) {
		this.fTargetQty = fTargetQty;
	}

	public Double getfQty() {
		return fQty;
	}

	public void setfQty(Double fQty) {
		this.fQty = fQty;
	}

	public Integer getfStatus() {
		return fStatus;
	}

	public void setfStatus(Integer fStatus) {
		this.fStatus = fStatus;
	}

	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	public Integer getfClosed() {
		return fClosed;
	}

	public void setfClosed(Integer fClosed) {
		this.fClosed = fClosed;
	}

	public Boolean getfIsOutStock() {
		return fIsOutStock;
	}

	public void setfIsOutStock(Boolean fIsOutStock) {
		this.fIsOutStock = fIsOutStock;
	}

	public Boolean getfOutStockStatus() {
		return fOutStockStatus;
	}

	public void setfOutStockStatus(Boolean fOutStockStatus) {
		this.fOutStockStatus = fOutStockStatus;
	}

	public Double getfOutStockQty() {
		return fOutStockQty;
	}

	public void setfOutStockQty(Double fOutStockQty) {
		this.fOutStockQty = fOutStockQty;
	}

	public Integer getfDisPathId() {
		return fDisPathId;
	}

	public void setfDisPathId(Integer fDisPathId) {
		this.fDisPathId = fDisPathId;
	}

	public Integer getfStartWorkId() {
		return fStartWorkId;
	}

	public void setfStartWorkId(Integer fStartWorkId) {
		this.fStartWorkId = fStartWorkId;
	}

	public Integer getfStartId() {
		return fStartId;
	}

	public void setfStartId(Integer fStartId) {
		this.fStartId = fStartId;
	}

	public Date getfStartTime() {
		return fStartTime;
	}

	public void setfStartTime(Date fStartTime) {
		this.fStartTime = fStartTime;
	}

	public Date getfEndTime() {
		return fEndTime;
	}

	public void setfEndTime(Date fEndTime) {
		this.fEndTime = fEndTime;
	}

	public String getfName() {
		return fName;
	}

	public void setfName(String fName) {
		this.fName = fName;
	}

	public String getfNumber() {
		return fNumber;
	}

	public void setfNumber(String fNumber) {
		this.fNumber = fNumber;
	}

	public String getfNote() {
		return fNote;
	}

	public void setfNote(String fNote) {
		this.fNote = fNote;
	}

	public String getfMachine() {
		return fMachine;
	}

	public void setfMachine(String fMachine) {
		this.fMachine = fMachine;
	}

	public String getfWorkerName() {
		return fWorkerName;
	}

	public void setfWorkerName(String fWorkerName) {
		this.fWorkerName = fWorkerName;
	}

	public String getCondition() {
		return condition;
	}

	public void setCondition(String condition) {
		this.condition = condition;
	}

	public String getfModel() {
		return fModel;
	}

	public void setfModel(String fModel) {
		this.fModel = fModel;
	}

	public String getfBillNo() {
		return fBillNo;
	}

	public void setfBillNo(String fBillNo) {
		this.fBillNo = fBillNo;
	}

	public String getfBatchNo() {
		return fBatchNo;
	}

	public void setfBatchNo(String fBatchNo) {
		this.fBatchNo = fBatchNo;
	}

	public Integer getfCardId() {
		return fCardId;
	}

	public void setfCardId(Integer fCardId) {
		this.fCardId = fCardId;
	}

	public Integer getfIsOperInStock() {
		return fIsOperInStock;
	}

	public void setfIsOperInStock(Integer fIsOperInStock) {
		this.fIsOperInStock = fIsOperInStock;
	}

	public Integer getfStartWorkFlag() {
		return fStartWorkFlag;
	}

	public void setfStartWorkFlag(Integer fStartWorkFlag) {
		this.fStartWorkFlag = fStartWorkFlag;
	}

	public Integer getfStockID() {
		return fStockID;
	}

	public void setfStockID(Integer fStockID) {
		this.fStockID = fStockID;
	}

	public String getfIcmoNote() {
		return fIcmoNote;
	}

	public void setfIcmoNote(String fIcmoNote) {
		this.fIcmoNote = fIcmoNote;
	}

	public Double getfDiscountQty() {
		return fDiscountQty;
	}

	public void setfDiscountQty(Double fDiscountQty) {
		this.fDiscountQty = fDiscountQty;
	}

	public Double getfDiscountFlag() {
		return fDiscountFlag;
	}

	public void setfDiscountFlag(Double fDiscountFlag) {
		this.fDiscountFlag = fDiscountFlag;
	}

	public Double getfDiscountPieceRate() {
		return fDiscountPieceRate;
	}

	public void setfDiscountPieceRate(Double fDiscountPieceRate) {
		this.fDiscountPieceRate = fDiscountPieceRate;
	}

	public String getfBillerName() {
		return fBillerName;
	}

	public void setfBillerName(String fBillerName) {
		this.fBillerName = fBillerName;
	}

	public Integer getfFirstOpNotOutStockFlag() {
		return fFirstOpNotOutStockFlag;
	}

	public void setfFirstOpNotOutStockFlag(Integer fFirstOpNotOutStockFlag) {
		this.fFirstOpNotOutStockFlag = fFirstOpNotOutStockFlag;
	}

	public Double getfAgvQty() {
		return fAgvQty;
	}

	public void setfAgvQty(Double fAgvQty) {
		this.fAgvQty = fAgvQty;
	}

	public int getfPrintNum() {
		return fPrintNum;
	}

	public void setfPrintNum(int fPrintNum) {
		this.fPrintNum = fPrintNum;
	}

	public String getfPieceRate() {
		return fPieceRate;
	}

	public void setfPieceRate(String fPieceRate) {
		this.fPieceRate = fPieceRate;
	}

	public Double getfCirculationQty() {
		return fCirculationQty;
	}

	public void setfCirculationQty(Double fCirculationQty) {
		this.fCirculationQty = fCirculationQty;
	}

	public Integer getfUpDispatchId() {
		return fUpDispatchId;
	}

	public void setfUpDispatchId(Integer fUpDispatchId) {
		this.fUpDispatchId = fUpDispatchId;
	}

	public Integer getfItemId() {
		return fItemId;
	}

	public void setfItemId(Integer fItemId) {
		this.fItemId = fItemId;
	}

	public Integer getfWorkcenterId() {
		return fWorkcenterId;
	}

	public void setfWorkcenterId(Integer fWorkcenterId) {
		this.fWorkcenterId = fWorkcenterId;
	}

	public Integer getfDepId() {
		return fDepId;
	}

	public void setfDepId(Integer fDepId) {
		this.fDepId = fDepId;
	}

	@Override
	public String toString() {
		return "DispatchedWorkers [id=" + id + ", fCode=" + fCode + ", fWorker=" + fWorker + ", fDate=" + fDate
				+ ", fBiller=" + fBiller + ", fBillerName=" + fBillerName + ", fChartNumber=" + fChartNumber
				+ ", fIcmoId=" + fIcmoId + ", fMacId=" + fMacId + ", fOperSN=" + fOperSN + ", fOper=" + fOper
				+ ", fTargetQty=" + fTargetQty + ", fQty=" + fQty + ", fStatus=" + fStatus + ", updateTime="
				+ updateTime + ", fClosed=" + fClosed + ", fIsOutStock=" + fIsOutStock + ", fOutStockStatus="
				+ fOutStockStatus + ", fOutStockQty=" + fOutStockQty + ", fDisPathId=" + fDisPathId + ", fStartWorkId="
				+ fStartWorkId + ", fStartId=" + fStartId + ", fStartTime=" + fStartTime + ", fEndTime=" + fEndTime
				+ ", fName=" + fName + ", fNumber=" + fNumber + ", fNote=" + fNote + ", fMachine=" + fMachine
				+ ", fWorkerName=" + fWorkerName + ", condition=" + condition + ", fDepName=" + fDepName + ", fModel="
				+ fModel + ", fItemId=" + fItemId + ", fBillNo=" + fBillNo + ", fBatchNo=" + fBatchNo + ", fCardId="
				+ fCardId + ", fIsOperInStock=" + fIsOperInStock + ", fStartWorkFlag=" + fStartWorkFlag + ", fStockID="
				+ fStockID + ", fIcmoNote=" + fIcmoNote + ", fDiscountQty=" + fDiscountQty + ", fDiscountFlag="
				+ fDiscountFlag + ", fDiscountPieceRate=" + fDiscountPieceRate + ", ftype=" + ftype
				+ ", fFirstOpNotOutStockFlag=" + fFirstOpNotOutStockFlag + ", fAgvQty=" + fAgvQty + ", fPrintNum="
				+ fPrintNum + ", fPieceRate=" + fPieceRate + ", fCirculationQty=" + fCirculationQty + ", fUpDispatchId="
				+ fUpDispatchId + ", fWorkcenterId=" + fWorkcenterId + ", fDepId=" + fDepId + "]";
	}

}